package com.bee.web.mapper;

import java.util.List;

import org.apache.ibatis.session.RowBounds;

import com.hengyuan.db.UserEntity;

public interface UserEntityMapper {
	
	Integer searchCount(UserEntity entity, RowBounds rowBounds);
	
	List<UserEntity> searchList(UserEntity entity, RowBounds rowBounds);

	int insert(UserEntity entity);
	
	int update(UserEntity entity);
	
	int delete(String userId);
	
	UserEntity selectById(String userId);

	UserEntity selectByUserName(String userName);

	UserEntity selectByPhoneNumber(String phoneNumber);

}